package repositories

import (
	"gitee.com/kessil/chicory/internal/models"
	"xorm.io/xorm"
)

type DeskRepository struct {
	*Repository[models.Desk]
	db *xorm.Engine
}

func NewDeskRepository(db *xorm.Engine) *DeskRepository {
	return &DeskRepository{
		Repository: NewRepository[models.Desk](db),
		db:         db,
	}
}
